
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>订单支付流程 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="goinstall.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    Part2 模拟商城
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.2.1" data-path="payflow.html">
            
                <a href="payflow.html">
            
                    
                    订单支付流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="goinstall.html">
            
                <a href="goinstall.html">
            
                    
                    go 语言环境安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="gomod.html">
            
                <a href="gomod.html">
            
                    
                    包管理工具 go mod
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="http.html">
            
                <a href="http.html">
            
                    
                    实现http服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="http静态资源服务器.html">
            
                <a href="http静态资源服务器.html">
            
                    
                    http静态资源服务器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="mysql表设计.html">
            
                <a href="mysql表设计.html">
            
                    
                    mysql表设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="go的mysql操作.html">
            
                <a href="go的mysql操作.html">
            
                    
                    go的mysql操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="go的api接口实现.html">
            
                <a href="go的api接口实现.html">
            
                    
                    go的api接口实现
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../alipay/">
            
                <a href="../alipay/">
            
                    
                    Part3 接入支付宝
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../alipay/flow.html">
            
                <a href="../alipay/flow.html">
            
                    
                    支付宝文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="../alipay/secret.html">
            
                <a href="../alipay/secret.html">
            
                    
                    密码学-非对称加密
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">扩展</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../plugins.md">
            
                <span>
            
                    
                    插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../themes.md">
            
                <span>
            
                    
                    主题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="../bookjson.md">
            
                <span>
            
                    
                    bookjson
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >订单支付流程</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="&#x8BA2;&#x5355;&#x652F;&#x4ED8;&#x6D41;&#x7A0B;">&#x8BA2;&#x5355;&#x652F;&#x4ED8;&#x6D41;&#x7A0B;</h2>
<p>&#x4ECE;&#x5546;&#x54C1;&#x7684;&#x4E00;&#x6B21;&#x4E0B;&#x5355;&#x8D2D;&#x4E70;&#x6D41;&#x7A0B;&#x53EF;&#x4EE5;&#x603B;&#x7ED3;&#x51FA;&#x652F;&#x4ED8;&#x7CFB;&#x7EDF;&#x7684;&#x5404;&#x4E2A;&#x53C2;&#x4E0E;&#x5BF9;&#x8C61;&#x4EA4;&#x4E92;&#x7684;&#x65F6;&#x5E8F;&#x56FE;&#xFF0C;&#x5982;&#x4E0B;:</p>
<h3 id="&#x7CFB;&#x7EDF;&#x4EA4;&#x4E92;&#x65F6;&#x5E8F;&#x56FE;">&#x7CFB;&#x7EDF;&#x4EA4;&#x4E92;&#x65F6;&#x5E8F;&#x56FE;</h3>
<p><img src="../assets/images/&#x652F;&#x4ED8;&#x6D41;&#x7A0B;.png" alt="&#x7CFB;&#x7EDF;&#x4EA4;&#x4E92;&#x65F6;&#x5E8F;&#x56FE;"></p>
<ul>
<li>&#x7528;&#x6237;: &#x652F;&#x4ED8;&#x884C;&#x4E3A;&#x7684;&#x53D1;&#x8D77;&#x8005;</li>
<li>&#x5546;&#x6237;: &#x7535;&#x5546;&#x5356;&#x5BB6;</li>
<li>&#x652F;&#x4ED8;&#x7CFB;&#x7EDF;: &#x63D0;&#x4F9B;&#x652F;&#x4ED8;&#x80FD;&#x529B;&#x7684;&#x7CFB;&#x7EDF;&#xFF0C;&#x901A;&#x5E38;&#x4E3A;&#x7B2C;&#x4E09;&#x65B9;&#x673A;&#x6784;</li>
</ul>
<p>&#x6240;&#x4EE5;&#x5982;&#x679C;&#x60F3;&#x4ECE;&#x9875;&#x9762;&#x4E0A;&#x6D4B;&#x8BD5;&#x652F;&#x4ED8;&#x7CFB;&#x7EDF;&#xFF0C;&#x5FC5;&#x987B;&#x6709;&#x4E00;&#x4E2A;&#x6D4B;&#x8BD5;&#x4F7F;&#x7528;&#x7684;&#x7535;&#x5B50;&#x5546;&#x57CE;&#x7CFB;&#x7EDF;&#xFF1B;&#x7535;&#x5B50;&#x5546;&#x57CE;&#x7CFB;&#x7EDF;&#x53EF;&#x4EE5;&#x662F;&#x4E00;&#x4E2A;&#x6700;&#x7B80;&#x5316;&#x7684;&#x7CFB;&#x7EDF;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: Part2 模拟商城">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="goinstall.html" class="navigation navigation-next " aria-label="Next page: go 语言环境安装">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"订单支付流程","level":"1.2.1","depth":2,"next":{"title":"go 语言环境安装","level":"1.2.2","depth":2,"path":"two_shop/goinstall.md","ref":"two_shop/goinstall.md","articles":[]},"previous":{"title":"Part2 模拟商城","level":"1.2","depth":1,"path":"two_shop/README.md","ref":"two_shop/README.md","articles":[{"title":"订单支付流程","level":"1.2.1","depth":2,"path":"two_shop/payflow.md","ref":"two_shop/payflow.md","articles":[]},{"title":"go 语言环境安装","level":"1.2.2","depth":2,"path":"two_shop/goinstall.md","ref":"two_shop/goinstall.md","articles":[]},{"title":"包管理工具 go mod","level":"1.2.3","depth":2,"path":"two_shop/gomod.md","ref":"two_shop/gomod.md","articles":[]},{"title":"实现http服务","level":"1.2.4","depth":2,"path":"two_shop/http.md","ref":"two_shop/http.md","articles":[]},{"title":"http静态资源服务器","level":"1.2.5","depth":2,"path":"two_shop/http静态资源服务器.md","ref":"two_shop/http静态资源服务器.md","articles":[]},{"title":"mysql表设计","level":"1.2.6","depth":2,"path":"two_shop/mysql表设计.md","ref":"two_shop/mysql表设计.md","articles":[]},{"title":"go的mysql操作","level":"1.2.7","depth":2,"path":"two_shop/go的mysql操作.md","ref":"two_shop/go的mysql操作.md","articles":[]},{"title":"go的api接口实现","level":"1.2.8","depth":2,"path":"two_shop/go的api接口实现.md","ref":"two_shop/go的api接口实现.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"two_shop/payflow.md","mtime":"2020-05-24T08:54:54.983Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-05-30T14:47:16.991Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

